From: Eli Zaretskii Date: Fri, 2 May 2025 12:07:35 +0000 (+0300) Subject: ; * lisp/battery.el (battery-status-function): Doc fix. X-Git-Tag: archive/raspbian/1%30.2+1-2+rpi1^2~2^2~24^2~105 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=52183c9596cc4d346c872ad81ecbcf695e636f0b;p=emacs.git ; * lisp/battery.el (battery-status-function): Doc fix. --- diff --git a/lisp/battery.el b/lisp/battery.el index 0f39b3f7087..846cf22829f 100644 --- a/lisp/battery.el +++ b/lisp/battery.el @@ -136,7 +136,13 @@ Its cons cells are of the form (CONVERSION . REPLACEMENT-TEXT) CONVERSION is the character code of a \"conversion specification\" -introduced by a `%' character in a control string." +introduced by a `%' character in a control string. See the +documentation of `battery-echo-area-format' for supported conversion +specifications and the format used by `battery' to show battery +status in the echo area. + +The default value of the function is determined at startup, and depends +on the battery-related services available on the system." :version "28.1" :type '(choice (const nil) function))